﻿using Love;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Documents;

namespace Love2DWindow.LoveEmbed
{
    public class LoveHookWin : Scene
    {
        public LoveHookWin()
        {
        }

        public override void Load()
        {
            var mode = Window.GetMode();
            mode.borderless = true;
        
            Window.SetMode(mode);
        }

        float t = 0;
        public override void Draw()
        {

            Love.Graphics.SetBackgroundColor(Love.Color.Green);
            t = t + Timer.GetDelta();
            Graphics.Line(new Vector2(), new Vector2(t * 20, t * 20));
            Graphics.Print("ha ha ha", 0, 0);
        }

        

        public override void Update(float dt)
        {
        }
    }
}
